package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhuan
 * @since 2019-01-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBW_T")
public class GwbwT extends PO<GwbwT> {

    private static final long serialVersionUID = 1L;

    private String GWBWENT;
    private String GWBW001;
    private String GWBW002;
    private String GWBW003;
    private String GWBWACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWBWUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWBWGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWBWMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWBWTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBWDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWBWORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWBWORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWBWENT;
    }

}
